package org.mm.xml.entities;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;

/**
 * SensorXML
 *
 * @author Marco Traversari
 * @version $Revision: $ $Date: $ $Author: $
 */
@XmlType(propOrder={"identifier", "sensorType", "fakeMeasureValue"})
public class SensorXML {

	private Long id = null;

	private SensorTypeXML sensorType = null;

	private String identifier = null;

	private String fakeMeasureValue = null;

	/**
	 * getId
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * setId
	 * @param id
	 */
	@XmlAttribute
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * getIdentifier
	 * @return identifier
	 */
	public String getIdentifier() {
		return identifier;
	}

	/**
	 * setIdentifier
	 * @param identifier
	 */
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}



	/**
	 * getSensorType
	 * @return sensorType
	 */
	public SensorTypeXML getSensorType() {
		return sensorType;
	}

	/**
	 * setSensorType
	 * @param sensorType
	 */
	public void setSensorType(SensorTypeXML sensorType) {
		this.sensorType = sensorType;
	}

	/**
	 * getFakeMeasureValue
	 * @return fakeMeasureValue
	 */
	public String getFakeMeasureValue() {
		return fakeMeasureValue;
	}

	/**
	 * setFakeMeasureValue
	 * @param fakeMeasureValue
	 */
	public void setFakeMeasureValue(String fakeMeasureValue) {
		this.fakeMeasureValue = fakeMeasureValue;
	}
}
